//
//  logoutVC.m
//  dianfan
//
//  Created by Ye Jin on 15/11/10.
//  Copyright © 2015年 Ye Jin. All rights reserved.
//

#import "logoutVC.h"
#import <BmobSDK/bmob.h>
#import "ViewController.h"
#import "RegisterVC.h"

@interface logoutVC ()

@end

@implementation logoutVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)logout:(id)sender {
    [BmobUser logout];

    [self.navigationController dismissViewControllerAnimated:YES completion:nil];
}


@end
